reject an insecure configuration
authorJoey Hess <joeyh@joeyh.name>
Fri, 22 Aug 2025 17:35:33 +0000 (13:35 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 22 Aug 2025 17:38:14 +0000 (13:38 -0400)
commit640bc43c38e37f0acbc5d83d072af82e4e8cc5fa
tree70c74274f9af4b75e6459dde92fbe477942cc400
parent70b4220ddfe81d31cdd0976b44ac7d7d4aa293c3
reject an insecure configuration

A user might expect onlyencryptcreds=yes to do some useful encryption of
the creds despite using encryption=shared. Prevent them from thinking
they have somehow secured the creds in their repository in that case.

Also reject onlyencryptcreds=yes encryption=none in case the user
somehow thinks there is creds-only encryption going on in that case.

Sponsored-by: Graham Spencer
Remote/Helper/Encryptable.hs